home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Visual Basic Source Code
/
Visual Basic Source Code.iso
/
vbsource
/
jpegvu
/
jpegvu.frm
< prev
next >
Wrap
Text File
|
1996-06-29
|
3KB
|
118 lines
VERSION 4.00
Begin VB.Form Form1
Appearance = 0 'Flat
BackColor = &H80000005&
Caption = " JPEG Display"
ClientHeight = 5820
ClientLeft = 1005
ClientTop = 930
ClientWidth = 7365
BeginProperty Font
name = "MS Sans Serif"
charset = 1
weight = 700
size = 8.25
underline = 0 'False
italic = 0 'False
strikethrough = 0 'False
EndProperty
ForeColor = &H80000008&
Height = 6225
Left = 945
LinkTopic = "Form1"
ScaleHeight = 388
ScaleMode = 3 'Pixel
ScaleWidth = 491
Top = 585
Width = 7485
WindowState = 2 'Maximized
Begin VB.PictureBox Picture4
Appearance = 0 'Flat
BackColor = &H80000005&
ForeColor = &H80000008&
Height = 615
Left = 120
ScaleHeight = 585
ScaleWidth = 1785
TabIndex = 3
Top = 5160
Width = 1815
End
Begin VB.PictureBox Picture1
Appearance = 0 'Flat
BackColor = &H80000005&
ForeColor = &H80000008&
Height = 1335
Left = 3600
ScaleHeight = 1305
ScaleWidth = 2985
TabIndex = 2
Top = 5040
Width = 3015
End
Begin VB.PictureBox Picture3
Appearance = 0 'Flat
BackColor = &H80000005&
ForeColor = &H80000008&
Height = 2775
Left = 120
ScaleHeight = 2745
ScaleWidth = 1065
TabIndex = 1
Top = 1560
Width = 1095
End
Begin VB.PictureBox Picture2
Appearance = 0 'Flat
BackColor = &H80000005&
ForeColor = &H80000008&
Height = 2895
Left = 7440
ScaleHeight = 2865
ScaleWidth = 2025
TabIndex = 0
Top = 3480
Width = 2055
End
End
Attribute VB_Name = "Form1"
Attribute VB_Creatable = False
Attribute VB_Exposed = False
Private Sub Form_Click()
End
End Sub
Private Sub Form_Paint()
Picture4.Print "Click for next JPEG"
Picture4_Click
End Sub
Private Sub Picture4_Click()
Select Case jpegnum
Case 0
nam$ = "d:\jpeg\10074823.jpg"
Case 1
nam$ = "d:\jpeg\10074825.jpg"
Case 2
nam$ = "d:\jpeg\10075248.jpg"
Case 3
nam$ = "d:\jpeg\10075256.jpg"
Case 4
nam$ = "d:\jpeg\10075298.jpg"
Case Else
nam$ = "d:\jpeg\hmg0014.jpg"
End Select
jpegnum = (jpegnum + 1) Mod 6
Call displayjpeg
End Sub
Private Sub Text1_Click()
End Sub